package com.example.demo.nettydemo.message;

import com.example.demo.nettydemo.Message;

public class SingleMessageResponse extends Message {

    /***
     * 发送人
     */
    private String sendFrom;

    private String content;


    public String getSendFrom() {
        return sendFrom;
    }

    public void setSendFrom(String sendFrom) {
        this.sendFrom = sendFrom;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }


    @Override
    public String toString() {
        return "SingleMessageResponse{" +
                "messageType=" + messageType +
                ", sendDate=" + sendDate +
                ", sendFrom='" + sendFrom + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
